package com.songhq.ctool.services;

import com.intellij.openapi.components.Service;
import com.intellij.openapi.project.Project;


@Service(Service.Level.PROJECT)
public final class MyProjectService  {
    private final Project myProject;

    MyProjectService(Project project) {
        myProject = project;
    }

    public void doSomething(String param) {
        String projectName = myProject.getName();
        System.out.println("project service is " + projectName);
        // ...
    }


}
